#!/bin/bash

# 安装PIP和curl和gedit
sudo apt update
sudo apt install -y python3-pip curl
sudo apt install -y gedit
sudo apt install -y gedit-plugins

# 安装Python的Tkinter库
sudo apt-get install -y python3-tk

# 安装Python的OpenCV库
sudo apt install -y libopencv-dev python3-opencv

#用pip安装setuptools
pip3 install setuptools

# 安装所需库
pip3 install oss2 multiprocess 

# 下载文件并解压缩到aliyun文件夹中
mkdir aliyun
cd aliyun
curl -O https://bone-doc-assets.oss-cn-shanghai.aliyuncs.com/studio-demo/code.zip
unzip code.zip
